//
//  BattleUILayer.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-4-10.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//
//  [战斗UI层]
//

#import "cocos2d.h"
#import "ShipListView.h"
#import "SlowBlood.h"
#import "Ship.h"
#import "BattleShipInfoItem.h"

@interface BattleUILayer : CCLayer
{
    CGSize size;
    ShipListView* _leftViewList;     //左边的船舰视图列表
    ShipListView* _rightViewList;    //右边的船舰视图列表
    
    SlowBlood* _leftEquipBlood;      //左边的装备值血槽
    SlowBlood* _rightEquipBlood;     //右边的装备值血槽
    
    CCLabelTTF* _leftTimeLabel;      //倒计时文字
    ccTime left;
    
    BattleShipInfoItem* _infoItem;   //只留一个信息框
}

-(void) updateList:(CCArray*)leftArray rightArray:(CCArray*)rightArray;
-(void) updateLeftTime:(ccTime)leftTime;
-(void) secondUpdate;
-(void) selectShip:(Ship*)ship;
-(void) unselectAll;
@end
